package com.itttq.kb.model.po;

import java.util.Date;

import com.itttq.kb.common.annotation.Column;
import com.itttq.kb.common.annotation.Column.ColumnType;
import com.itttq.kb.common.annotation.Table;

/** 主题回复表 **/

@Table(name="kb_topic_reply")
public class TopicReplyPo extends BasePo {
	private static final long serialVersionUID = -62689095128966653L;
	/* 回复内容 */
	@Column(name="content")
	private String content;
	/* 创建时间 */
	@Column(name="create_time", inInsert=false, inUpdate=false)
	private Date createTime;
	/* 创建人ID */
	@Column(name="creator_id",type=ColumnType.NUMBER)
	private Long creatorId;
	
	@Column(name="id", inInsert=false, inUpdate=false, inSelect=false,type=ColumnType.NUMBER)
	private Integer id;
	/* 是否采纳。1、是；2、否。 */
	@Column(name="is_adopt",type=ColumnType.NUMBER)
	private Integer isAdopt;
	/* 点赞数 */
	@Column(name="number_love",type=ColumnType.NUMBER)
	private Integer numberLove;
	/* 回复数 */
	@Column(name="number_reply",type=ColumnType.NUMBER)
	private Integer numberReply;
	/* 回复者IP，如果是多重IP，考虑都记录下来。作为跟踪使用 */
	@Column(name="reply_ip")
	private String replyIp;
	/* 主题ID */
	@Column(name="topic_id",type=ColumnType.NUMBER)
	private Long topicId;
	/* 主题标题 */
	@Column(name="topic_title")
	private String topicTitle;
	/* 数据更新时间 */
	@Column(name="update_time", inInsert=false, inUpdate=false)
	private Date updateTime;
	/* 更新人ID */
	@Column(name="updater_id",type=ColumnType.NUMBER)
	private Long updaterId;

	/* 创建人头像 */
	private String creatorAvatar;
	/* 创建人姓名 */
	private String creatorName;
	
	public String getCreatorAvatar() {
		return creatorAvatar;
	}
	public void setCreatorAvatar(String creatorAvatar) {
		this.creatorAvatar = creatorAvatar;
	}
	public String getCreatorName() {
		return creatorName;
	}
	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public Long getCreatorId() {
		return creatorId;
	}
	public void setCreatorId(Long creatorId) {
		this.creatorId = creatorId;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	public Integer getIsAdopt() {
		return isAdopt;
	}
	public void setIsAdopt(Integer isAdopt) {
		this.isAdopt = isAdopt;
	}
	
	public Integer getNumberLove() {
		return numberLove;
	}
	public void setNumberLove(Integer numberLove) {
		this.numberLove = numberLove;
	}
	
	public Integer getNumberReply() {
		return numberReply;
	}
	public void setNumberReply(Integer numberReply) {
		this.numberReply = numberReply;
	}
	
	public String getReplyIp() {
		return replyIp;
	}
	public void setReplyIp(String replyIp) {
		this.replyIp = replyIp;
	}
	
	public Long getTopicId() {
		return topicId;
	}
	public void setTopicId(Long topicId) {
		this.topicId = topicId;
	}
	
	public String getTopicTitle() {
		return topicTitle;
	}
	public void setTopicTitle(String topicTitle) {
		this.topicTitle = topicTitle;
	}
	
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public Long getUpdaterId() {
		return updaterId;
	}
	public void setUpdaterId(Long updaterId) {
		this.updaterId = updaterId;
	}
	
}